package com.ea.modular.service.sys;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;


import com.ea.common.parent.service.CrudService;
import com.ea.modular.dao.sys.LogDao;
import com.ea.modular.model.sys.Log;

/**
 * 日志实现类
 * @author jun
 *
 */
@Service
@Transactional
public class LogService extends CrudService<LogDao,Log> {
  
   @Autowired
   private LogDao dao;
	/**
	 * 清空日志
	 * @return
	 */
   @Transactional(readOnly=false)
   public int removeall(){
	   return dao.removeall();
   }
}
